<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
    <title>新增用户</title>
</head>
<body>
    <form:form modelAttribute="user" action="addUser1" method="post">
        <div>
            用户名：<form:input path="userName"></form:input>
                    <form:errors path="userName" cssStyle="color: red"></form:errors>
        </div>
        <div>
            密码：<form:password path="password"></form:password>
            <form:errors path="password" cssStyle="color: red"></form:errors>
        </div>
        <div>
            年龄：<form:input path="age"></form:input>
                <form:errors path="age" cssStyle="color: red"></form:errors>
        </div>
        <div>
            邮箱：<form:input path="email"></form:input>
            <form:errors path="email" cssStyle="color: red"></form:errors>
        </div>
        <div>
            手机号码：<form:input path="phoneNo"></form:input>
            <form:errors path="phoneNo" cssStyle="color: red"></form:errors>
        </div>

        <div><input type="submit" value="提交"></div>
    </form:form>
</body>
</html>
